home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 8
/
Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso
/
Aminet
/
comm
/
news
/
TrimNews.lha
/
TrimNews.doc
< prev
Wrap
Text File
|
1995-06-26
|
3KB
|
112 lines
Welcome to TrimNews 1.007!
Legal mumbo-jumbo
=================
TrimNews is not public domain nor shareware, it`s just
Copyright © 1995 Sönke Tesch
Everyone is permitted to copy and distribute verbatim copies of this archive
and its contents, but changing it is not allowed.
What is it
==========
TrimNews is a replacement for the trimnews that comes with the AmigaUUCP
package. It does basically the same (you may replace the old with this one
without further changes) but is not limited to simple `timeouts` and you
have better control of what it does and where it does its work.
So have a quick look at the rest of this file and you`ll see.
How to use
==========
TrimNews accepts the following arguments on the command line:
NEWSDIR=NEWS/K,ACTIVEFILE=ACTIVE/K,DELOLDERTHAN=DOT/N/K,ADDDAYS/N/K,SUBDAYS/N/K,
DONTTRIM/M,DONTREMOVE/S,LOG/S
- NEWSDIR=NEWS/K (default is uunews:)
NEWSDIR describes the place where your articles are stored. This will normally
be uunews:.
- ACTIVEFILE=ACTIVE/K (default is uulib:newsgroups)
ACTIVEFILE is the file that contains a list of all newsgroups you want on
your machine.
Each line must have the following format:
AREANAME/A,DELOLDERTHAN/N,MAXFILES/N,NEVER/S
- AREANAME/A
should be obvious..
- DELOLDERTHAN/N
TrimNews will delete all articles older than DELOLDERTHAN days.
- MAXFILES/N
You can limit the number of articles with this argument. If there
are more than MAXFILES files, TrimNews will start deleting the
oldest files until there are MAXFILEs left.
- NEVER/S
If you want to keep all articles in this area, just set NEVER or
DELOLDERTHAN=0.
If both DELOLDERTHAN and MAXFILES are set, TrimNews will first delete
all files older than DELOLDERTHAN days and then check if there are more
than MAXFILE files left.
- DELOLDERTHAN=DOT/N/K (default are 5 days)
Set the default number of days until articles expire. This value is only
valid for newsgroups that are listed without any other argument.
- ADDDAYS/N/K,SUBDAYS/N/K
Add or subtract days from the DELOLDERTHAN of _every_ newsgroup.
- DONTTRIM/M
If you don`t want TrimNews to process some areas, enter them here. Use
standart AmigaDOS wildcards (#? etc) if you like.
TrimNews notifies you of every newsgroup it didn`t work on.
- DONTREMOVE/S
Normally TrimNews deletes all groups and their contents (except other listed
newsgroups) not listed in your ACTIVEFILE.
If DONTREMOVE is set, these groups are treated like any other group that is
in your ACTIVEFILE without arguments (thus just deletes all files older than
DELOLDERTHAN days).
- LOG/S
When TrimNews is working, you`ll always see the current area, but you`re only
`really` notified if TrimNews deleted some files (or the entire directory).
With LOG set, TrimNews writes a comment on every group, whether it did some-
thing or not.
In case you have any questions, suggestions or find bugs, feel free to drop me
line (or two..), my address is "soenke_t@freeside.shn.com".
have fun,
soenk.e
Changes since 1.005
===================
- added DONTTRIM/M argument and the /K`s after NEWSDIR and ACTIVEFILE so from
now on the keywords are needed to set NEWSDIR and ACTIVEFILE!!